﻿package component.formula.util;


public class StringUtil {
	public static boolean isNull(String value) {
		if ("".equals(value) || null == value || value.equalsIgnoreCase("null") || "undefined".equals(value)) {
			return true;
		}
		return false;
	}
    
    //去掉换行符号，java->js
    public static String removeLineBreaks(String str){
    	return str.replaceAll("\r\n", " ");
    }

}
